package com.jiajia.study.chapter03.create;

import lombok.extern.slf4j.Slf4j;

/**
 * <h1>实现方式一</h1>
 * @author zjiajia
 * @date 2023/11/1 16:40
 */
@Slf4j(topic = "c.Thread1")
public class MyThread extends Thread {

    @Override
    public void run() {
        log.debug("实现方式一.............");
    }

    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.setName("t1");
        myThread.start();
    }
}
